Component org.nuxeo.ecm.platform.webengine.sites.actions
In bundle org.nuxeo.ecm.platform.webengine.sites
Contributions
- org.nuxeo.ecm.platform.webengine.sites.actions--actions
- org.nuxeo.ecm.platform.webengine.sites.actions--filters
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.webengine.sites.actions">
<require>org.nuxeo.ecm.platform.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="TAB_WEBVIEW" link="/incl/tabs/workspace_view.xhtml"
enabled="true" order="30" label="action.webcontainer.preview" icon="/icons/file.gif"
type="rest_document_link">
<category>VIEW_ACTION_LIST</category>
<filter-id>isWebContainer</filter-id>
</action>
<action id="webSiteLink" type="bare_link"
link="#{baseURL}site/sites/#{currentDocument.webc.url}" label="label.website.view"
icon="/icons/switch.png" order="-10">
<category>DOCUMENT_UPPER_ACTION</category>
<filter-id>isWebContainer</filter-id>
<filter-id>isWebSite</filter-id>
<properties>
<property name="target">_blank</property>
</properties>
</action>
</extension>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="filters">
<filter id="create" append="true">
<rule grant="true">
<permission>AddChildren</permission>
<type>WebSite</type>
<type>WebPage</type>
</rule>
</filter>
<filter id="importFile" append="true">
<rule grant="true">
<permission>AddChildren</permission>
<type>WebSite</type>
</rule>
</filter>
<filter id="isWebContainer">
<rule grant="true">
<facet>WebView</facet>
</rule>
</filter>
<filter id="isWebSite">
<rule grant="true">
<type>WebSite</type>
</rule>
</filter>
</extension>
</component>